﻿//============================================================
//write by bxl at 2021-06-03 18:33:43
//============================================================


using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCDto.TMS.SpecificServiceType
{
    /// <summary>
    /// 特殊服务类型 数据模型
    /// </summary> 
    public class SpecificServiceTypeRequestDto
    {
        /// <summary>
        /// 特殊服务类型
        /// </summary>            
        [Display(Name = "特殊服务类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string SpecificServiceType { get; set; }

        /// <summary>
        /// 特殊服务类型名称
        /// </summary>            
        [Display(Name = "特殊服务类型名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ServiceTypeName { get; set; }

        /// <summary>
        /// 存在服务备注
        /// </summary>            
        [Display(Name = "存在服务备注")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool HasRemark { get; set; }

        /// <summary>
        /// 服务备注
        /// </summary>            
        [Display(Name = "服务备注")] 
        public string ServiceRemark { get; set; }

        /// <summary>
        /// 已启用
        /// </summary>            
        [Display(Name = "已启用")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool Enabled { get; set; }


        /// <summary>
        /// 省份Code
        /// </summary>            
        [Display(Name = "省份Code")] 
        public string ProvinceCode { get; set; }

        /// <summary>
        /// 市Code
        /// </summary>            
        [Display(Name = "市Code")] 
        public string CityCode { get; set; }

        /// <summary>
        /// 发货地县区Code
        /// </summary>            
        [Display(Name = "发货地县区Code")] 
        public string CountyCode { get; set; }

        /// <summary>
        /// 特殊服务类型Id
        /// </summary>
        [Display(Name = "特殊服务类型Id")]
        public int? SpecificServiceTypeId { get; set; }
    }
}
